const {
  get_others
} = require('../../Class/GetOthers.js');
const getOthers = new get_others();
Page({
  data: {

  },


  Goindex() {
    wx.switchTab({
      url: '/pages/index/index',
    })
  },
  async onLoad(options) {
    this.setData({
      bg: 'https://kanekikeh.online/launchPage.png'
      // bg:'https://kanekikeh.online/launch.gif'
    })
    wx.showLoading({
      title: '数据通信中',
      mask: true
    })
    const [new_user] = await Promise.all([
      getOthers.Get_UserId(),
    ]);

    setTimeout(function(){
      wx.hideLoading()
      wx.switchTab({
        url: '/pages/index/index',
      })
    },3000)
  }
})